import requests

from com.yh.likeshop.utils.utils import like_host


class User():


    def login(self,account,password,client=2):
        user = {

    "account": account,
    "password": password,
    "client": client
            }
        resp = requests.post(like_host + "/api/account/login",data=user)
        #返回结果
        return resp